<div class="v-transfer-dom">
    <div class="ivu-modal-mask"></div>
    <div class="ivu-modal-wrap">
        <div class="ivu-modal" style="width: 520px;">
            <div class="ivu-modal-content">
                <a @click="cancleDept" class="ivu-modal-close">
                    <i class="ivu-icon ivu-icon-ios-close-empty"></i>
                </a>
                <div class="ivu-modal-header">
                    <div class="ivu-modal-header-inner">{{title}}</div>
                </div>
                <div class="ivu-modal-body">
                    <form class="ivu-form ivu-form-label-right">
                        <div class="term mt20">
                            <span class="flagTitle color-red">*</span>
                            <span class="text-right">父部门:</span>
                            <div>
                                <Cascader class="wid-260" :data="data" v-model="value1" filterable change-on-select></Cascader>
                            </div>
                        </div>
                        <div class="term mt20">
                            <span class="flagTitle color-red">*</span>
                            <span class="text-right">部门编码:</span>
                            <div>
                                <i-input placeholder="最大不得超过50个字符" maxlength="50" class="wid-260" v-model="addParamObj.code"></i-input>
                            </div>
                        </div>
                        <div class="term mt20">
                            <span class="flagTitle color-red">*</span>
                            <span class="text-right">部门名称:</span>
                            <div>
                                <i-input placeholder="最大不得超过30个字符" maxlength="30" class="wid-260" v-model="addParamObj.name"></i-input>
                            </div>
                        </div>
                        <div class="term mt20">
                            <span class="flagTitle color-red">*</span>
                            <span class="text-right">部门描述:</span>
                            <div>
                                <i-input placeholder="最大不得超过150个字符" maxlength="150" type="textarea" class="wid-260" v-model="addParamObj.description"></i-input>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="ivu-modal-footer">
                    <button @click="cancleDept" type="button" class="ivu-btn ivu-btn-text ivu-btn-large">
                        <span>取消</span>
                    </button>
                    <button @click="saveDept" type="button" class="ivu-btn ivu-btn-primary ivu-btn-large">
                        <span>确定</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>